package com.jumi.microservice.stock.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description 仓库转换记录视图类
 * @ClassName StockConversionVO
 * @Author Abel Yang
 * @Date 2020/9/11/011 11:59
 **/
@Data
@ApiModel(value = "StockConversionVO", description = "")
public class StockConversionVO implements Serializable {

    private static final long serialVersionUID = 893056756575661981L;

    @ApiModelProperty(value = "")
    private Long id;

    @ApiModelProperty(value = "仓库id")
    private Long warehouseId;
    @ApiModelProperty(value = "仓库名称")
    private String warehouseName;

    @ApiModelProperty(value = "转换类型:1-正规转破损,2-破损转正规")
    private Byte conversionType;

    @ApiModelProperty(value = "商品id")
    private Long goodsId;
    @ApiModelProperty(value = "商品编码")
    private String goodsCode;
    @ApiModelProperty(value = "商品名称")
    private String goodsName;

    @ApiModelProperty(value = "商品类型:0-售卖商品;1-其他商品")
    private Byte goodsType;

    @ApiModelProperty(value = "调货数量")
    private Integer totalConversionNum;

    @ApiModelProperty(value = "单位id")
    private int unitId;
    @ApiModelProperty(value = "单位名称")
    private String unit;

    @ApiModelProperty(value = "调货原因")
    private String conversionRemark;
    @ApiModelProperty(value = "调货时间")
    private Integer conversionTime;
    @ApiModelProperty(value = "调货时间")
    private String conversionTimeStr;

    @ApiModelProperty(value = "审核状态:0-未审核;1-已通过,2-未通过")
    private Byte checkStatus;

    @ApiModelProperty(value = "操作人")
    private String createBy;
    @ApiModelProperty(value = "添加时间")
    private Date createTime;

    @ApiModelProperty(value = "审核人")
    private String checkName;

    @ApiModelProperty(value = "审核时间")
    private Integer checkTime;
    @ApiModelProperty(value = "审核时间")
    private String checkTimeStr;

    @ApiModelProperty(value = "审核备注")
    private String checkRemark;
}
